package com.jsbs.iam.component.constant;

/**
 * @ClassName: Constants
 * @Author: junwc
 * @Date: 2023/1/31 11:53
 * @Description: 通用常量信息
 */

public class Constants {


    public static final String HEADER_TOKEN = "x-token";

    /**
     * 用户类型
     */
    public static final String USER_TYPE = "x-user-type";

    /**
     * 管理员用户
     */
    public static final String USER_TYPE_ADMIN = "0";

    /**
     * 普通用户
     */
    public static final String USER_TYPE_NOMAL = "1";

    /**
     * 管理员角色编码
     */
    public static final String ADMIN_ROLE_CODE = "x-admin-role-code";

    /**
     * 用户编码
     */
    public static final String USER_CODE = "userCode";

    /**
     * 业务系统用户ID
     */
    public static final String USER_ID = "userId";

    /**
     * 姓名
     */
    public static final String NAME = "name";

    /**
     * 手机号
     */
    public static final String PHONE = "phone";

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";

    /**
     * 归属组织类型编码
     */
    public static final String ORG_TYPE_CODE = "orgTypeCode";

    /**
     * 应用编码
     */
    public static final String APPLY_CODE = "applyCode";

    /**
     * 归属租户
     */
    public static final String COMPANY_CODE = "companyeCode";

    public static final String TOKEN = "token";

    public static final String SERVER_NAME = "serverName";
}
